package com.ganjiangps.huochetou.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 人员名单小名单详情
 */
@TableName("manage_user")
public class PersonalManagementUser extends SuperEntity<PersonalManagementUser> {
	private String pmno;
	private Long baseid;
	private String addman;
	private Date addtime;
	private String remark;
	@TableField(exist = false)
	private String pmname;
	@TableField(exist = false)
	private String username;
	@TableField(exist = false)
	private String realname;
	@TableField(exist = false)
	private String[] baseids;
	public String getPmno() {
		return pmno;
	}
	public void setPmno(String pmno) {
		this.pmno = pmno;
	}
	public Long getBaseid() {
		return baseid;
	}
	public void setBaseid(Long baseid) {
		this.baseid = baseid;
	}
	public String getAddman() {
		return addman;
	}
	public void setAddman(String addman) {
		this.addman = addman;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getPmname() {
		return pmname;
	}
	public void setPmname(String pmname) {
		this.pmname = pmname;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getRealname() {
		return realname;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((username == null) ? 0 : username.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PersonalManagementUser other = (PersonalManagementUser) obj;
		if (username == null) {
			if (other.username != null)
				return false;
		} else if (!username.equals(other.username))
			return false;
		return true;
	}
	
	
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String[] getBaseids() {
		return baseids;
	}
	public void setBaseids(String[] baseids) {
		this.baseids = baseids;
	}
}
